openapi: 3.0.1
info:
  title: Section 68 - ePlanning to Council API
  description: >
    # Authentication    


    Please use the subscription key provided by the Department to access the
    APIs.
  contact: {}
  version: v1
servers:
  - url: /
paths:
  /CreateSec68/{CaseID}:
    post:
      summary: CreateSec68
      description: >-
        This operation transfers the application created by the applicant from
        the Section 68 of the Local Government Act Service to the Council's IT
        system.
      operationId: post-createS68-caseid
      parameters:
        - name: CaseID
          in: path
          description: A fully qualified Section 68 of the Local Government Act case
          required: true
          schema:
            type: string
        - name: OrganisationID
          in: header
          description: The council LGA name to indicate where the response is routed to.
          required: true
          schema:
            type: string
      requestBody:
        description: Information request object
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateS68'
        required: true
      responses:
        '200':
          description: Created
          content: {}
        '400':
          description: Invalid request supplied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '412':
          description: Section68 case already exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: applicable field values not provided
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      deprecated: false
      x-codegen-request-body-name: body
  /UpdateSec68/{CaseID}:
    put:
      summary: UpdateSec68
      description: >-
        This operation updates the application details entered by the applicant
        in the Section 68 of the Local Government Act Service to the Council's
        IT system.
      operationId: post-UpdateS68-caseid
      parameters:
        - name: CaseID
          in: path
          description: A fully qualified Section 68 of the Local Government Act case
          required: true
          schema:
            type: string
        - name: OrganisationID
          in: header
          description: The council LGA name to indicate where the response is routed to.
          required: true
          schema:
            type: string
      requestBody:
        description: Information request object
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateS68'
        required: true
      responses:
        '200':
          description: Created
          content: {}
        '400':
          description: Invalid request supplied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '412':
          description: Section68 case already exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: applicable field values not provided
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      deprecated: false
      x-codegen-request-body-name: body
  /Assessment/{CaseID}:
    put:
      summary: Assessment
      description: >-
        This operation is to send information of the assessment of Referrals to
        Council's IT system.
      operationId: put-assessment-caseid
      parameters:
        - name: CaseID
          in: path
          description: A fully qualified Referral case for S68
          required: true
          schema:
            type: string
        - name: OrganisationID
          in: header
          description: >-
            The council LGA name or Agency Organisation name to indicate where
            the request is originated from.
          required: true
          schema:
            type: string
      requestBody:
        description: Information request object
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Assessment'
        required: true
      responses:
        '200':
          description: Case Submitted by Applicant
          content: {}
        '400':
          description: Invalid request supplied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      deprecated: false
      x-codegen-request-body-name: body
  /Decision/{CaseID}:
    put:
      summary: Decision
      description: >
        This operation is to send information of the determination of Referrals
        to Council's IT system.
      operationId: put-decision-caseid
      parameters:
        - name: CaseID
          in: path
          description: A fully qualified Referral case
          required: true
          schema:
            type: string
        - name: OrganisationID
          in: header
          description: >-
            The council LGA name or Agency Organisation name to indicate where
            the request is originated from.
          required: true
          schema:
            type: string
      requestBody:
        description: Information request object
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Decision'
        required: true
      responses:
        '200':
          description: Case decision is completed
          content: {}
        '400':
          description: Invalid request supplied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      deprecated: false
      x-codegen-request-body-name: body
components:
  schemas:
    Location:
      title: Location
      required:
        - address
        - isPrimary
        - lga
      type: object
      properties:
        address:
          maxLength: 250
          type: string
          description: Address where the development is happening
          example: 19-33 Elizabeth Street, Narrandera, 2700
        addressDetail:
          $ref: '#/components/schemas/AddressDetail'
        addressMissing:
          type: boolean
          description: Used to differentiate if address is present in the system or not.
        adjacentLot:
          type: boolean
          description: >-
            used to check if the land is adjacent to this lot and applicable if
            'addressMissing' is true
        lotList:
          type: array
          items:
            $ref: '#/components/schemas/LotSectionPlan'
        lga:
          maxLength: 30
          type: string
          description: Local Government Area under which this application falls
          example: PENRITH
        isPrimary:
          type: boolean
          description: The primary address if multiple
    AddressDetail:
      required:
        - latitude
        - longitude
        - postCode
        - state
        - streetName
        - suburb
      type: object
      properties:
        complexUnitType:
          type: string
        complexLevelType:
          type: string
        complexLevelNumber:
          type: string
        complexUnitIdentifier:
          type: string
        streetNumber1:
          type: string
        streetNumber2:
          type: string
        streetName:
          type: string
        streetSuffix:
          type: string
        streetType:
          type: string
        suburb:
          type: string
        latitude:
          type: number
        longitude:
          type: number
        wkid:
          type: string
        cadastralID:
          type: string
        primarySecondary:
          type: string
        state:
          type: string
        postCode:
          type: number
    LotSectionPlan:
      required:
        - lotsectionplan
      type: object
      properties:
        lotsectionplan:
          type: string
          example: 1/-/SPXXXXX
    Person:
      title: Person
      required:
        - address
        - contactNumber
        - email
        - familyName
        - firstName
      type: object
      properties:
        firstName:
          maxLength: 20
          type: string
        otherName:
          maxLength: 20
          type: string
        familyName:
          maxLength: 20
          type: string
        contactNumber:
          maxLength: 10
          minLength: 8
          pattern: ^[0-9]+$
          type: string
        email:
          maxLength: 250
          type: string
        address:
          maxLength: 250
          type: string
          description: Required as a part of Applicant details
    WorkerPerson:
      title: Person
      type: object
      properties:
        firstName:
          maxLength: 20
          type: string
        otherName:
          maxLength: 20
          type: string
        familyName:
          maxLength: 20
          type: string
        contactNumber:
          maxLength: 10
          minLength: 8
          pattern: ^[0-9]+$
          type: string
        email:
          maxLength: 250
          type: string
        address:
          maxLength: 250
          type: string
          description: Required as a part of Applicant details
    PayerPersonInfo:
      title: Person
      required:
        - address
        - contactNumber
        - email
        - familyName
        - firstName
      type: object
      properties:
        firstName:
          maxLength: 20
          type: string
        otherName:
          maxLength: 20
          type: string
        familyName:
          maxLength: 20
          type: string
        contactNumber:
          maxLength: 10
          minLength: 8
          pattern: ^[0-9]+$
          type: string
        email:
          maxLength: 250
          type: string
        address:
          maxLength: 250
          type: string
          description: Required as a part of Applicant details
    Error:
      title: Error
      required:
        - errorCode
        - statusCode
      type: object
      properties:
        statusCode:
          type: integer
          format: int32
          example: 404
        message:
          type: string
          example: Internal Server error 19876
        activityId:
          type: string
          example: 00000011-0ab-xy00-0000-500000000000
        errorCode:
          type: string
          example: DPE_TMS01
        errorDetails:
          type: string
          example: Inner Exceptions, Stack Trace, etc
    DownloadableDocument:
      title: DownloadableDocument
      required:
        - documentName
        - documentType
        - documentURL
        - uploadedDateTime
      type: object
      properties:
        documentName:
          maxLength: 150
          type: string
          description: documentName has to be appended with file extension
          example: test.docx
        documentType:
          maxLength: 100
          type: string
        uploadedDateTime:
          type: string
          format: date-time
        documentURL:
          maxLength: 500
          type: string
          description: URL of the document to be downloaded
        documentSize:
          description: This indicates the file size of the document in bytes
          type: number
        updatedBy:
          type: string
          example: Council
    UpdatedBy:
      title: UpdatedBy
      type: object
      properties:
        person:
          $ref: '#/components/schemas/PersonBody'
    PersonBody:
      title: PersonBody
      required:
        - email
        - familyName
        - firstName
      type: object
      properties:
        firstName:
          maxLength: 20
          type: string
          example: John
        familyName:
          maxLength: 20
          type: string
          example: Smith
        email:
          maxLength: 250
          type: string
          description: User must be registered in the planning portal
          example: john.smith@gmail.com
        contactNumber:
          maxLength: 10
          minLength: 8
          pattern: ^[0-9]+$
          type: string
    declarationS68:
      title: declarationS68
      type: string
      description: >-
        Holds the declarations the users is supposed to provide on submitting
        the application. One of the below mentioned values must be selected for
        declarationS68 1. I declare that all the information in the application
        and accompanying documents is true and correct to the best of my
        knowledge. 2. I understand that the application and the accompanying
        information will be provided to the appropriate consent authority and
        relevant agency(ies) for the purposes of the assessment and
        determination of this application. I acknowledge that the information
        may be used for other Government purposes. 3. I understand that if
        incomplete, the consent authority may request more information, which
        will result in delays to the application. 4. I agree to the
        appropriately delegated assessment officers attending the site for the
        purpose of inspection. 5. The consent authority may use the information
        and materials provided for notification, advertising purposes, and
        materials provided may be made available to the public for inspection.
        Information related to the application may also become available via NSW
        Planning Portal. 6. I acknowledge that copies of this application and
        supporting documentation may be provided to interested persons in
        accordance with the Government Information (Public Access) 2009 (NSW)
        (GIPA Act) under which it may be required to release information. 7. I
        have read and agree to the collection and use of my personal information
        as outlined in the Privacy Notice
      example: Refer to description for values
    applicantList:
      type: object
      properties:
        applyOnBehalfOfCompany:
          type: boolean
          description: >-
            This property will confirm whether the applicant is a company or
            Not. If YES, need to provide the company details.
        contactDetails:
          $ref: '#/components/schemas/applicantDetails'
        applicantCompany:
          $ref: '#/components/schemas/applicantCompany'
      description: used to hold applicant's details.
    workerContactdetails:
      title: workerContactdetails
      type: object
      properties:
        title:
          $ref: '#/components/schemas/Title'
        person:
          $ref: '#/components/schemas/WorkerPerson'
        licenceNumber:
          type: string
          description: Holds the license number
      description: this records the contact details for worker.
    workerCompany:
      title: applicantCompany
      required:
        - ABN
        - companyName
      type: object
      properties:
        companyName:
          maxLength: 150
          type: string
          description: If applicant a company, provide the company name
        ABN:
          type: string
          description: it should be 11-digit number
          example: '12345678910'
        ACN:
          type: string
          description: it should be 9-digit number
          example: '123456789'
        tradingName:
          maxLength: 256
          type: string
          description: Name of the trading
      description: If Apply on Behalf of Company is selected as 'Yes'
    CreateS68:
      title: CreateS68
      required:
        - applicationType
        - briefOfProposedWorks
        - developmentType
        - primaryApplicant
        - siteAddresses
      type: object
      properties:
        caseStatus:
          maxLength: 80
          type: string
          description: Status of the Section68 case
          example: Submitted
        primaryApplicant:
          $ref: '#/components/schemas/applicantList'
        secondaryApplicants:
          type: array
          items:
            $ref: '#/components/schemas/applicantList'
        applicationType:
          $ref: '#/components/schemas/ApplicationType'
        relatedApplication:
          $ref: '#/components/schemas/RelatedApplication'
        relatedApplicationAppliedViaPortal:
          type: boolean
          description: >-
            applicable when 'Complying Development Certificate (CDC)' or
            'Development Application (DA)' is selected as part of
            'relatedApplication' given options.
        relatedPortalCaseID:
          type: string
          description: >-
            Holds the related portal caseID of either 'Complying Development
            Certificate (CDC)' or 'Development Application (DA)' and is
            applicable when 'Complying Development Certificate (CDC)' or
            'Development Application (DA)' is selected as part of
            'relatedApplication' given options.
        isCaseAppliedOnPortal:
          type: boolean
          description: >-
            Applicable when 'applicationType' is 'Section 68 modification
            application' or 'Section 68 review of determination'
        referenceNumberOfPastCase:
          type: string
          description: >-
            applicable when 'applicationType' is 'Section 68 modification
            application'or 'Section 68 review of determination'. This field is
            required when 'isCaseAppliedOnPortal' is true
        dateOfDetermiantionOfPastCase:
          type: string
          description: >-
            applicable when 'applicationType' is 'Section 68 modification
            application' or 'Section 68 review of determination'. This field is
            required when 'isCaseAppliedOnPortal' is false
          format: date
        dateOfDetermiantion:
          type: string
          description: >-
            applicable when 'applicationType' is 'Section 68 modification
            application' or 'Section 68 review of determination'. This field is
            required when 'isCaseAppliedOnPortal' is true
          format: date
        modificationDescription:
          maxLength: 512
          type: string
          description: >-
            applicable when 'applicationType' is 'Section 68 modification
            application' and holds the comments why the other case is modified.
        siteAddresses:
          type: array
          items:
            $ref: '#/components/schemas/Location'
        developmentType:
          type: array
          description: Holds the type of development proposed by the applicant.
          items:
            $ref: '#/components/schemas/DevelopmentTypes'
        propertySize:
          type: string
          description: >-
            applicable when 'wasteManagement' is selected as 'Operate a system
            of sewage management (within the meaning of section 68A)' and holds
            the size of property proposed. One of the below mentioned values
            must be selected for propertySize 1. Land size of less than 1000m2
            2. Land size of 1000m2 – 2000m2 3. Land size of more than 2000m2
          example: Refer to description for values
        propertyUse:
          type: string
          description: >-
            applicable when 'wasteManagement' is selected as 'Operate a system
            of sewage management (within the meaning of section 68A)' and holds
            the usage of property. One of the below mentioned values must be
            selected for propertyUse 1. Residential dwelling 2. Commercial
            and/or industrial development 3. Other
          example: Refer to description for value
        noOfBedrooms:
          type: integer
          description: applicable when 'Residential dwelling' is selected in 'propertyUse'
          maxLength: 5
        propertyUseOther:
          type: string
          description: applicable when 'Other' is selected in 'propertyUse'
        typeOfWaterSupply:
          type: string
          description: >-
            applicable when 'wasteManagement' is selected as 'Operate a system
            of sewage management (within the meaning of section 68A)' and holds
            the type of watter supply. One of the below mentioned values must be
            selected for typeOfWaterSupply 1. Mains water supply (town water) 2.
            Tank water 3. Dam, river or bore water
          example: Refer to description for value
        typeOfWasteTreatment:
          type: array
          description: >-
            applicable when 'wasteManagement' is selected as 'Operate a system
            of sewage management (within the meaning of section 68A)' and holds
            the type of waste treatment
          items:
            $ref: '#/components/schemas/WasteTreatementType'
        tradeWasteDesc:
          type: string
          description: applicable when 'typeOfWasteTreatment' is 'Trade'
        otherWasteDesc:
          maxLength: 256
          type: string
          description: applicable when 'typeOfWasteTreatment' is 'Other'
        wasteMgmtTreatmentSystem:
          type: array
          description: >-
            applicable when 'wasteManagement' is selected as 'Operate a system
            of sewage management (within the meaning of section 68A)' and holds
            the type of system to be installed (treatment system)
          items:
            $ref: '#/components/schemas/TreatmentSystem'
        otherTreatmentSystemDesc:
          maxLength: 256
          type: string
          description: applicable when 'wasteMgmtTreatmentSystem' is 'Other'
        wasteMgmtTypeOfSystem:
          type: array
          description: >-
            applicable when 'wasteManagement' is selected as 'Operate a system
            of sewage management (within the meaning of section 68A)' and holds
            the type of system to be installed (treatment system)
          items:
            $ref: '#/components/schemas/TypeOfSystem'
        otherTypeOfSystemDesc:
          maxLength: 256
          type: string
          description: applicable when 'wasteMgmtTypeOfSystem' is 'Other'
        tankCapacity:
          type: array
          description: >-
            applicable when 'wasteManagement' is selected as 'Operate a system
            of sewage management (within the meaning of section 68A)' and holds
            the tank capacity in litres
          items:
            $ref: '#/components/schemas/TankCapacity'
        proposed24HrWork:
          type: object
          properties:
            isMonWorkDay:
              type: boolean
            MonWorkDay:
              $ref: '#/components/schemas/WorkDay'
            isTueWorkDay:
              type: boolean
            TueWorkDay:
              $ref: '#/components/schemas/WorkDay'
            isWedWorkDay:
              type: boolean
            WedWorkDay:
              $ref: '#/components/schemas/WorkDay'
            isThuWorkDay:
              type: boolean
            ThuWorkDay:
              $ref: '#/components/schemas/WorkDay'
            isFriWorkDay:
              type: boolean
            FriWorkDay:
              $ref: '#/components/schemas/WorkDay'
            isSatWorkDay:
              type: boolean
            SatWorkDay:
              $ref: '#/components/schemas/WorkDay'
            isSunWorkDay:
              type: boolean
            SunWorkDay:
              $ref: '#/components/schemas/WorkDay'
        operationHoursComments:
          maxLength: 512
          type: string
          description: >-
            applicable when 'hoursOfOperation' is present and holds additional
            comments on operating hours.
        otherDevelopment:
          maxLength: 512
          type: string
          description: applicable when 'otherDevelopmentWorks' is selected as 'Other'
        diningAreaLicensed:
          type: boolean
          description: >-
            applicable when 'communityLandWorks' has 'Engage in a trade or
            business' and tells if applicant is intended to operate the outdoor
            dining area as a licensed premises
        isLiquorLicenseHeld:
          type: boolean
          description: >-
            applicable when 'diningAreaLicensed' is true and holds whether the
            applicant holds liquor license or not
        liquorLicenceNumber:
          maxLength: 20
          type: string
          description: >-
            applicable when 'isLiquorLicenseHeld' is true and holds the liquor
            license number provided
        briefOfProposedWorks:
          maxLength: 512
          type: string
          description: holds the brief explanation of the proposed works
        estimatedCost:
          type: number
          description: Holds the estimated cost of the works
          format: decimal
        siteConditionsImpact:
          type: boolean
          description: >-
            Tells if there are any security or site conditions which may impact
            on the person undertaking the inspection. eg: locked gates, animals,
            etc
        impactDetals:
          maxLength: 512
          type: string
          description: >-
            Applicable and required when 'siteConditionsImpact' is true and
            holds the detailed description of site or security conditions may
            impact inspecting person.
        isApplicantCouncilMember:
          type: boolean
          description: >-
            describes if the applicant or owner a staff member or councillor of
            the council assessing the application
        applicantCouncilRoleDescription:
          maxLength: 512
          type: string
          description: applicable and required when 'isApplicantPartOfCouncil' is true
        isApplicantRelatedToCouncil:
          type: boolean
          description: >-
            describes if the applicant or owner have a relationship with any
            staff or councillor of the council assessing the application
        applicantCouncilRelationDecription:
          maxLength: 512
          type: string
          description: >-
            applicable and required when 'applicantRelatedWithcouncilMember' is
            true
        contractorLicenseeDetails:
          type: object
          properties:
            applyOnBehalfOfCompany:
              type: boolean
              description: >-
                This property will hold whether the applicant is company or Not.
                If YES need to provide the company details.
            companyDetails:
              $ref: '#/components/schemas/workerCompany'
            contactDetails:
              $ref: '#/components/schemas/workerContactdetails'
          description: Applicable only if 'waterWorks' is not chosen.
        drainageWorkerDetails:
          type: object
          properties:
            applyOnBehalfOfCompany:
              type: boolean
              description: >-
                This property will hold whether the applicant is company or Not.
                If YES need to provide the company details.
            companyDetails:
              $ref: '#/components/schemas/workerCompany'
            contactDetails:
              $ref: '#/components/schemas/workerContactdetails'
          description: Applicable only if 'waterWorks' is chosen.
        plumberDetails:
          type: object
          properties:
            applyOnBehalfOfCompany:
              type: boolean
              description: >-
                This property will hold whether the applicant is company or Not.
                If YES need to provide the company details.
            companyDetails:
              $ref: '#/components/schemas/workerCompany'
            contactDetails:
              $ref: '#/components/schemas/workerContactdetails'
          description: Applicable only if 'waterWorks' is not chosen.
        manufacturerDetails:
          type: object
          properties:
            applyOnBehalfOfCompany:
              type: boolean
              description: >-
                This property will hold whether the applicant is company or Not.
                If YES need to provide the company details.
            companyDetails:
              $ref: '#/components/schemas/workerCompany'
            contactDetails:
              $ref: '#/components/schemas/workerContactdetails'
        payerInformation:
          type: object
          properties:
            isPayerCompany:
              $ref: '#/components/schemas/isPayerCompany'
            payerPerson:
              $ref: '#/components/schemas/payerPerson'
            payerCompany:
              $ref: '#/components/schemas/payerCompany'
        isResend:
          type: boolean
          description: >-
            This is to track if application details are resent. True indicates a
            retriggered event.
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DownloadableDocument'
        declarations:
          type: array
          description: >-
            Required applicant declaration for Section 68 of the Local
            Government Act
          items:
            $ref: '#/components/schemas/declarationS68'
        updatedBy:
          $ref: '#/components/schemas/UpdatedBy'
    UpdateS68:
      title: CreateS68
      required:
        - applicationType
        - briefOfProposedWorks
        - developmentType
        - primaryApplicant
        - siteAddresses
      type: object
      properties:
        caseStatus:
          maxLength: 80
          type: string
          description: Status of the Section68 case
          example: Submitted
        primaryApplicant:
          $ref: '#/components/schemas/applicantList'
        secondaryApplicants:
          type: array
          items:
            $ref: '#/components/schemas/applicantList'
        applicationType:
          $ref: '#/components/schemas/ApplicationType'
        relatedApplication:
          $ref: '#/components/schemas/RelatedApplication'
        relatedApplicationAppliedViaPortal:
          type: boolean
          description: >-
            applicable when 'Complying Development Certificate (CDC)' or
            'Development Application (DA)' is selected as part of
            'relatedApplication' given options.
        relatedPortalCaseID:
          type: string
          description: >-
            Holds the related portal caseID of either 'Complying Development
            Certificate (CDC)' or 'Development Application (DA)' and is
            applicable when 'Complying Development Certificate (CDC)' or
            'Development Application (DA)' is selected as part of
            'relatedApplication' given options.
        isCaseAppliedOnPortal:
          type: boolean
          description: >-
            Applicable when 'applicationType' is 'Section 68 modification
            application' or 'Section 68 review of determination'
        referenceNumberOfPastCase:
          type: string
          description: >-
            applicable when 'applicationType' is 'Section 68 modification
            application'or 'Section 68 review of determination'. This field is
            required when 'isCaseAppliedOnPortal' is true
        dateOfDetermiantionOfPastCase:
          type: string
          description: >-
            applicable when 'applicationType' is 'Section 68 modification
            application' or 'Section 68 review of determination'. This field is
            required when 'isCaseAppliedOnPortal' is false
          format: date
        dateOfDetermiantion:
          type: string
          description: >-
            applicable when 'applicationType' is 'Section 68 modification
            application' or 'Section 68 review of determination'. This field is
            required when 'isCaseAppliedOnPortal' is true
          format: date
        modificationDescription:
          maxLength: 512
          type: string
          description: >-
            applicable when 'applicationType' is 'Section 68 modification
            application' and holds the comments why the other case is modified.
        siteAddresses:
          type: array
          items:
            $ref: '#/components/schemas/Location'
        developmentType:
          type: array
          description: Holds the type of development proposed by the applicant.
          items:
            $ref: '#/components/schemas/DevelopmentTypes'
        propertySize:
          type: string
          description: >-
            applicable when 'wasteManagement' is selected as 'Operate a system
            of sewage management (within the meaning of section 68A)' and holds
            the size of property proposed. One of the below mentioned values
            must be selected for propertySize 1. Land size of less than 1000m2
            2. Land size of 1000m2 – 2000m2 3. Land size of more than 2000m2
          example: Refer to description for values
        propertyUse:
          type: string
          description: >-
            applicable when 'wasteManagement' is selected as 'Operate a system
            of sewage management (within the meaning of section 68A)' and holds
            the usage of property. One of the below mentioned values must be
            selected for propertyUse 1. Residential dwelling 2. Commercial
            and/or industrial development 3. Other
          example: Refer to description for value
        noOfBedrooms:
          type: integer
          description: applicable when 'Residential dwelling' is selected in 'propertyUse'
          maxLength: 5
        propertyUseOther:
          type: string
          description: applicable when 'Other' is selected in 'propertyUse'
        typeOfWaterSupply:
          type: string
          description: >-
            applicable when 'wasteManagement' is selected as 'Operate a system
            of sewage management (within the meaning of section 68A)' and holds
            the type of watter supply. One of the below mentioned values must be
            selected for typeOfWaterSupply 1. Mains water supply (town water) 2.
            Tank water 3. Dam, river or bore water
          example: Refer to description for value
        typeOfWasteTreatment:
          type: array
          description: >-
            applicable when 'wasteManagement' is selected as 'Operate a system
            of sewage management (within the meaning of section 68A)' and holds
            the type of waste treatment
          items:
            $ref: '#/components/schemas/WasteTreatementType'
        tradeWasteDesc:
          type: string
          description: applicable when 'typeOfWasteTreatment' is 'Trade'
        otherWasteDesc:
          maxLength: 256
          type: string
          description: applicable when 'typeOfWasteTreatment' is 'Other'
        wasteMgmtTreatmentSystem:
          type: array
          description: >-
            applicable when 'wasteManagement' is selected as 'Operate a system
            of sewage management (within the meaning of section 68A)' and holds
            the type of system to be installed (treatment system)
          items:
            $ref: '#/components/schemas/TreatmentSystem'
        otherTreatmentSystemDesc:
          maxLength: 256
          type: string
          description: applicable when 'wasteMgmtTreatmentSystem' is 'Other'
        wasteMgmtTypeOfSystem:
          type: array
          description: >-
            applicable when 'wasteManagement' is selected as 'Operate a system
            of sewage management (within the meaning of section 68A)' and holds
            the type of system to be installed (treatment system)
          items:
            $ref: '#/components/schemas/TypeOfSystem'
        otherTypeOfSystemDesc:
          maxLength: 256
          type: string
          description: applicable when 'wasteMgmtTypeOfSystem' is 'Other'
        tankCapacity:
          type: array
          description: >-
            applicable when 'wasteManagement' is selected as 'Operate a system
            of sewage management (within the meaning of section 68A)' and holds
            the tank capacity in litres
          items:
            $ref: '#/components/schemas/TankCapacity'
        proposed24HrWork:
          type: object
          properties:
            isMonWorkDay:
              type: boolean
            MonWorkDay:
              $ref: '#/components/schemas/WorkDay'
            isTueWorkDay:
              type: boolean
            TueWorkDay:
              $ref: '#/components/schemas/WorkDay'
            isWedWorkDay:
              type: boolean
            WedWorkDay:
              $ref: '#/components/schemas/WorkDay'
            isThuWorkDay:
              type: boolean
            ThuWorkDay:
              $ref: '#/components/schemas/WorkDay'
            isFriWorkDay:
              type: boolean
            FriWorkDay:
              $ref: '#/components/schemas/WorkDay'
            isSatWorkDay:
              type: boolean
            SatWorkDay:
              $ref: '#/components/schemas/WorkDay'
            isSunWorkDay:
              type: boolean
            SunWorkDay:
              $ref: '#/components/schemas/WorkDay'
        operationHoursComments:
          maxLength: 512
          type: string
          description: >-
            applicable when 'hoursOfOperation' is present and holds additional
            comments on operating hours.
        otherDevelopment:
          maxLength: 512
          type: string
          description: applicable when 'otherDevelopmentWorks' is selected as 'Other'
        diningAreaLicensed:
          type: boolean
          description: >-
            applicable when 'communityLandWorks' has 'Engage in a trade or
            business' and tells if applicant is intended to operate the outdoor
            dining area as a licensed premises
        isLiquorLicenseHeld:
          type: boolean
          description: >-
            applicable when 'diningAreaLicensed' is true and holds whether the
            applicant holds liquor license or not
        liquorLicenceNumber:
          maxLength: 20
          type: string
          description: >-
            applicable when 'isLiquorLicenseHeld' is true and holds the liquor
            license number provided
        briefOfProposedWorks:
          maxLength: 512
          type: string
          description: holds the brief explanation of the proposed works
        estimatedCost:
          type: number
          description: Holds the estimated cost of the works
          format: decimal
        siteConditionsImpact:
          type: boolean
          description: >-
            Tells if there are any security or site conditions which may impact
            on the person undertaking the inspection. eg: locked gates, animals,
            etc
        impactDetals:
          maxLength: 512
          type: string
          description: >-
            Applicable and required when 'siteConditionsImpact' is true and
            holds the detailed description of site or security conditions may
            impact inspecting person.
        isApplicantCouncilMember:
          type: boolean
          description: >-
            describes if the applicant or owner a staff member or councillor of
            the council assessing the application
        applicantCouncilRoleDescription:
          maxLength: 512
          type: string
          description: applicable and required when 'isApplicantPartOfCouncil' is true
        isApplicantRelatedToCouncil:
          type: boolean
          description: >-
            describes if the applicant or owner have a relationship with any
            staff or councillor of the council assessing the application
        applicantCouncilRelationDecription:
          maxLength: 512
          type: string
          description: >-
            applicable and required when 'applicantRelatedWithcouncilMember' is
            true
        contractorLicenseeDetails:
          type: object
          properties:
            applyOnBehalfOfCompany:
              type: boolean
              description: >-
                This property will hold whether the applicant is company or Not.
                If YES need to provide the company details.
            companyDetails:
              $ref: '#/components/schemas/workerCompany'
            contactDetails:
              $ref: '#/components/schemas/workerContactdetails'
          description: Applicable only if 'waterWorks' is not chosen.
        drainageWorkerDetails:
          type: object
          properties:
            applyOnBehalfOfCompany:
              type: boolean
              description: >-
                This property will hold whether the applicant is company or Not.
                If YES need to provide the company details.
            companyDetails:
              $ref: '#/components/schemas/workerCompany'
            contactDetails:
              $ref: '#/components/schemas/workerContactdetails'
          description: Applicable only if 'waterWorks' is chosen.
        plumberDetails:
          type: object
          properties:
            applyOnBehalfOfCompany:
              type: boolean
              description: >-
                This property will hold whether the applicant is company or Not.
                If YES need to provide the company details.
            companyDetails:
              $ref: '#/components/schemas/workerCompany'
            contactDetails:
              $ref: '#/components/schemas/workerContactdetails'
          description: Applicable only if 'waterWorks' is not chosen.
        manufacturerDetails:
          type: object
          properties:
            applyOnBehalfOfCompany:
              type: boolean
              description: >-
                This property will hold whether the applicant is company or Not.
                If YES need to provide the company details.
            companyDetails:
              $ref: '#/components/schemas/workerCompany'
            contactDetails:
              $ref: '#/components/schemas/workerContactdetails'
        payerInformation:
          type: object
          properties:
            isPayerCompany:
              $ref: '#/components/schemas/isPayerCompany'
            payerPerson:
              $ref: '#/components/schemas/payerPerson'
            payerCompany:
              $ref: '#/components/schemas/payerCompany'
        documents:
          type: array
          description: This block will be sending the full set of documents.
          items:
            $ref: '#/components/schemas/DownloadableDocument'
        deltaDocuments:
          type: array
          description: >-
            This block will be sending the delta documents uploaded or updated
            as part of update operation.
          items:
            $ref: '#/components/schemas/DownloadableDocument'
        declarations:
          type: array
          description: >-
            Required applicant declaration for Section 68 of the Local
            Government Act
          items:
            $ref: '#/components/schemas/declarationS68'
        updatedBy:
          $ref: '#/components/schemas/UpdatedBy'
    DevelopmentTypes:
      type: object
      properties:
        publicPlace:
          type: array
          description: >-
            applicable when 'developmentType'is selected as 'Structure or places
            of public entertainment'
          items:
            $ref: '#/components/schemas/PublicEntertainmentPlaces'
        waterWorks:
          type: array
          description: >-
            applicable when 'developmentType'is selected as 'Water supply,
            sewerage and stormwater drainage work'
          items:
            $ref: '#/components/schemas/WaterWorks'
        wasteManagement:
          type: array
          description: >-
            applicable when 'developmentType'is selected as 'Management of
            waste'
          items:
            $ref: '#/components/schemas/WasteMgmtWork'
        publicRoadWorks:
          type: array
          description: >-
            applicable when 'developmentType'is selected as 'Works and
            activities within public roads'
          items:
            $ref: '#/components/schemas/PublicRoadWork'
        communityLandWorks:
          type: array
          description: >-
            applicable when 'developmentType'is selected as 'Works and
            activities within Community Lands'
          items:
            $ref: '#/components/schemas/CommunityLandWork'
        otherDevelopmentWorks:
          type: array
          description: applicable when 'developmentType' is selected as 'Other'
          items:
            $ref: '#/components/schemas/OtherDevWork'
    PublicEntertainmentPlaces:
      type: string
      description: >-
        One of the below mentioned values must be selected for
        PublicEntertainmentPlaces 1. Install a manufactured home, moveable
        dwelling or associated structure on land
      example: Refer to description for values
    WaterWorks:
      type: string
      description: >-
        One of the below mentioned values must be selected for WaterWorks 1.
        Carry out sewerage work 2. Carry out stormwater drainage work 3. Carry
        out water supply work 4. Connect a private drain or sewer with a public
        drain or sewer under the control of Council or with a drain or sewer,
        which connects to a public drain or sewer 5. Draw water from a Council
        water supply or a standpipe or selling water drawn 6. Install, alter,
        disconnect or remove a meter connected to a council provided water
        service pipe 7. Operate a system of sewage management (within the
        meaning of section 68A)
      example: Refer to description for values
    WasteTreatementType:
      type: string
      description: >-
        One of the below mentioned values must be selected for
        WasteTreatementType 1. Human 2. Trade 3. Other
      example: Refer to description for values
    TreatmentSystem:
      type: string
      description: >-
        One of the below mentioned values must be selected for TreatmentSystem
        1. Aerated wastewater treatment system 2. Septic tank 3. Effluent
        pump-out system 4. Composting wet/dry system 5. Sand/media filter 6.
        Pump to sewer system 7. Other
      example: Refer to description for values
    TypeOfSystem:
      type: string
      description: >-
        One of the below mentioned values must be selected for TypeOfSystem 1.
        Surface irrigation 2. Subsurface irrigation 3. Raised mound 4.
        Evapo-transpiration 5. Absorption trench/bed 6. Other
      example: Refer to description for values
    TankCapacity:
      type: number
      format: decimal
      example: 12.5
    WorkDay:
      type: object
      properties:
        proposed24HrWork:
          type: boolean
          description: Either 24 hour work of specify start and end hours
        startWorkingHours:
          maxLength: 15
          type: string
          description: Applicable when proposed24HrWork is 'false'
          example: 09:30 AM
        endWorkingHours:
          maxLength: 15
          type: string
          description: Applicable when proposed24HrWork is 'false'
          example: 05:30 PM
      description: >-
        This is to track the work days. Applicable when 'isMonWorkDay' or
        'isTueWorkDay' or 'isWedWorkDay' or 'isThuWorkDay' or 'isFriWorkDay' or
        'isSatWorkDay' or 'isSunWorkDay' is 'true'
    WasteMgmtWork:
      type: string
      description: >-
        One of the below mentioned values must be selected for WasteMgmtWork 1.
        For fee or reward, transport waste over or under a public place 2. Place
        waste in a public place 3. Place a waste storage container in a public
        place 4. Dispose of waste into a sewer of the Council 5. Install a waste
        treatment device or a human waste storage facility or a drain connected
        to any such device or facility 6. Construct a waste treatment device or
        a human waste storage facility or a drain connected to any such device
        or facility 7. Alter a waste treatment device or a human waste storage
        facility or a drain connected to any such device or facility 8. Operate
        a system of sewage management (within the meaning of section 68A)
      example: Refer to description for values
    CommunityLandWork:
      type: string
      description: >-
        One of the below mentioned values must be selected for CommunityLandWork
        1. Engage in a trade or business 2. Direct or procure a theatrical,
        musical or other entertainment for the public 3. Construct a temporary
        enclosure for the purpose of entertainment 4. For fee or reward, play a
        musical instrument or sing 5. Set up, operate or use a loudspeaker or
        sound amplifying device 6. Deliver a public address or hold a religious
        service or public meeting
      example: Refer to description for values
    PublicRoadWork:
      type: string
      description: >-
        One of the below mentioned values must be selected for PublicRoadWork 1.
        Swing or hoist goods across or over any part of a public road by means
        of a lift, hoist or tackle projecting over the footway 2. Expose or
        allow to be exposed (whether for sale or otherwise) any article in or on
        or so as to overhang any part of the road or outside a shop window or
        doorway abutting the road, or hang an article beneath an awning over the
        road
      example: Refer to description for values
    OtherDevWork:
      type: string
      description: >-
        One of the below mentioned values must be selected for OtherDevWork 1.
        Carry out an activity prescribed by the regulations or an activity of a
        class or description prescribed by the Local Government Regulation 2.
        Install or operate amusement devices 3. Install a domestic oil or solid
        fuel heating appliance, other than a portable appliance 4. Operate a
        public car park 5. Operate a caravan park or camping ground 6. Operate a
        manufactured home estate 7. Use a standing vehicle or any article for
        the purpose of selling any article in a public place 8. Other
      example: Refer to description for values
    applicantDetails:
      title: applicantDetails
      type: object
      properties:
        title:
          $ref: '#/components/schemas/Title'
        person:
          $ref: '#/components/schemas/Person'
    applicantCompany:
      title: applicantCompany
      required:
        - address
        - email
      type: object
      properties:
        companyName:
          maxLength: 150
          type: string
          description: If applicant a company, provide the company name
        ABN:
          type: string
          description: it should be 11-digit number
          example: '12345678910'
        ACN:
          type: string
          description: it should be 9-digit number
          example: '123456789'
        tradingName:
          maxLength: 256
          type: string
          description: Name of the trading
        address:
          maxLength: 250
          type: string
          description: this object will hold the address  details
        email:
          maxLength: 250
          type: string
          description: Holds the email address
          format: email
      description: If Apply on Behalf of Company is selected as 'Yes'
    payerPerson:
      title: payerPerson
      type: object
      properties:
        title:
          $ref: '#/components/schemas/Title'
        payerInfo:
          $ref: '#/components/schemas/PayerPersonInfo'
      description: Required if Payer Type selected as 'Individual'.
    payerCompany:
      $ref: '#/components/schemas/applicantCompany'
    ApplicationType:
      title: ApplicationType
      type: string
      description: >-
        what is the application type to be created. One of the below mentioned
        values must be selected for ApplicationType 1. Section 68 application 2.
        Section 68 modification application 3. Section 68 review of
        determination
      example: Refer to description for values
    RelatedApplication:
      title: relatedApplication
      type: string
      description: >-
        type of the related application and is applicable when 'applicationType'
        is selected as 'Section 68 application'. One of the below mentioned
        values must be selected for RelatedApplication 1. Complying Development
        Certificate (CDC) 2. Development Application (DA) 3. No related
        application
      example: Refer to description for values
    isPayerCompany:
      type: boolean
      description: To differentiate whether the payer is a company or an individual.
    Title:
      title: Title
      type: string
      description: >-
        One of the below mentioned values must be selected for Title 1. Miss 2.
        Mr 3. Mrs 4. Ms
      example: Refer to description for values
    address:
      type: object
      properties:
        address:
          maxLength: 250
          type: string
      description: this object will hold the address  details
    Assessment:
      required:
        - agencyOfficer
        - caseStatus
        - updatedBy
        - preliminaryReview
      type: object
      properties:
        childCaseID:
          type: string
          description: Used to hold the child case ID to perform RFI.
          example: REF-XXXX
        primaryCaseID:
          type: string
          description: Used to hold Section68 case ID.
          example: S68-XXXX
        caseStatus:
          maxLength: 80
          type: string
          description: Status of the Referral case
          example: Submitted
        agencyOfficer:
          type: string
          description: Assign case to
          example: Test@yopmail.com
        preliminaryReview:
          $ref: '#/components/schemas/PreliminaryReview'
        updatedBy:
          $ref: '#/components/schemas/UpdatedBy'
    PreliminaryReview:
      title: Preliminary Review
      type: string
      description: >-
        Following a preliminary review, is the detail provided complete and is
        the case ready for a decision? One of the below mentioned values must be
        selected for PreliminaryReview 1. Yes, the application is ready for
        decision 2. No, need more information
      example: Refer to description for values
    Decision:
      required:
        - caseStatus
        - comments
        - decisionOutcome
        - updatedBy
      type: object
      properties:
        childCaseID:
          type: string
          description: Used to hold the child case ID to perform RFI.
          example: REF-XXXX
        primaryCaseID:
          type: string
          description: Used to hold section68 case ID.
          example: S68-XXXX
        caseStatus:
          maxLength: 80
          type: string
          description: Status of the Referral case
          example: Submitted
        decisionOutcome:
          $ref: '#/components/schemas/DecisionOutcome'
        comments:
          maxLength: 512
          type: string
        documents:
          type: array
          description: >-
            Documents will be avialble if the reviewOfOutcome is 'Return
            application'
          items:
            $ref: '#/components/schemas/DownloadableDocument'
        updatedBy:
          $ref: '#/components/schemas/UpdatedBy'
    DecisionOutcome:
      title: DecisionOutcome
      type: string
      description: >-
        What is the outcome of your assessment? One of the below mentioned
        values must be selected for DecisionOutcome 1. Advice 2. Decision not
        required
      example: Refer to description for values
